<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ArchivedNotes" targetNamespace="http://tempuri.org/ArchivedNotes.xsd" xmlns:mstns="http://tempuri.org/ArchivedNotes.xsd" xmlns="http://tempuri.org/ArchivedNotes.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:complexType name="Position">
    <xs:sequence>
      <xs:element name="x" msprop:Generator_UserColumnName="x" msprop:Generator_ColumnVarNameInTable="columnx" msprop:Generator_ColumnPropNameInRow="x" msprop:Generator_ColumnPropNameInTable="xColumn" type="xs:int" minOccurs="0" />
      <xs:element name="y" msprop:Generator_UserColumnName="y" msprop:Generator_ColumnVarNameInTable="columny" msprop:Generator_ColumnPropNameInRow="y" msprop:Generator_ColumnPropNameInTable="yColumn" type="xs:int" minOccurs="0" />
      <xs:element name="width" msprop:Generator_UserColumnName="width" msprop:Generator_ColumnVarNameInTable="columnwidth" msprop:Generator_ColumnPropNameInRow="width" msprop:Generator_ColumnPropNameInTable="widthColumn" type="xs:int" minOccurs="0" />
      <xs:element name="height" msprop:Generator_UserColumnName="height" msprop:Generator_ColumnVarNameInTable="columnheight" msprop:Generator_ColumnPropNameInRow="height" msprop:Generator_ColumnPropNameInTable="heightColumn" type="xs:int" minOccurs="0" />
    </xs:sequence>
    <xs:attribute name="ArchivedNote_Id" msprop:Generator_UserColumnName="ArchivedNote_Id" msprop:Generator_ColumnVarNameInTable="columnArchivedNote_Id" msprop:Generator_ColumnPropNameInRow="ArchivedNote_Id" msprop:Generator_ColumnPropNameInTable="ArchivedNote_IdColumn" type="xs:int" use="prohibited" />
  </xs:complexType>
  <xs:complexType name="font">
    <xs:sequence>
      <xs:element name="bold" msprop:Generator_UserColumnName="bold" msprop:Generator_ColumnVarNameInTable="columnbold" msprop:Generator_ColumnPropNameInRow="bold" msprop:Generator_ColumnPropNameInTable="boldColumn" type="xs:boolean" default="false" minOccurs="0" msdata:Ordinal="2" />
      <xs:element name="italic" msprop:Generator_UserColumnName="italic" msprop:Generator_ColumnVarNameInTable="columnitalic" msprop:Generator_ColumnPropNameInRow="italic" msprop:Generator_ColumnPropNameInTable="italicColumn" type="xs:boolean" default="false" minOccurs="0" msdata:Ordinal="3" />
      <xs:element name="strikeout" msprop:Generator_UserColumnName="strikeout" msprop:Generator_ColumnVarNameInTable="columnstrikeout" msprop:Generator_ColumnPropNameInRow="strikeout" msprop:Generator_ColumnPropNameInTable="strikeoutColumn" type="xs:boolean" default="false" minOccurs="0" msdata:Ordinal="4" />
      <xs:element name="underline" msprop:Generator_UserColumnName="underline" msprop:Generator_ColumnVarNameInTable="columnunderline" msprop:Generator_ColumnPropNameInRow="underline" msprop:Generator_ColumnPropNameInTable="underlineColumn" type="xs:boolean" default="false" minOccurs="0" msdata:Ordinal="5" />
    </xs:sequence>
    <xs:attribute name="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" type="xs:string" />
    <xs:attribute name="size" msprop:Generator_UserColumnName="size" msprop:Generator_ColumnVarNameInTable="columnsize" msprop:Generator_ColumnPropNameInRow="size" msprop:Generator_ColumnPropNameInTable="sizeColumn" type="xs:float" />
    <xs:attribute name="ArchivedNote_Id" msprop:Generator_UserColumnName="ArchivedNote_Id" msprop:Generator_ColumnVarNameInTable="columnArchivedNote_Id" msprop:Generator_ColumnPropNameInRow="ArchivedNote_Id" msprop:Generator_ColumnPropNameInTable="ArchivedNote_IdColumn" type="xs:int" use="prohibited" />
  </xs:complexType>
  <xs:element name="ArchivedNotes" msdata:IsDataSet="true" msdata:Locale="en-US" msprop:Generator_UserDSName="ArchivedNotes" msprop:Generator_DataSetName="ArchivedNotes">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ArchivedNote" msprop:Generator_UserTableName="ArchivedNote" msprop:Generator_RowDeletedName="ArchivedNoteRowDeleted" msprop:Generator_RowChangedName="ArchivedNoteRowChanged" msprop:Generator_RowClassName="ArchivedNoteRow" msprop:Generator_RowChangingName="ArchivedNoteRowChanging" msprop:Generator_RowEvArgName="ArchivedNoteRowChangeEvent" msprop:Generator_RowEvHandlerName="ArchivedNoteRowChangeEventHandler" msprop:Generator_TableClassName="ArchivedNoteDataTable" msprop:Generator_TableVarName="tableArchivedNote" msprop:Generator_RowDeletingName="ArchivedNoteRowDeleting" msprop:Generator_TablePropName="ArchivedNote">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CategoryID" msprop:Generator_UserColumnName="CategoryID" msprop:Generator_ColumnVarNameInTable="columnCategoryID" msprop:Generator_ColumnPropNameInRow="CategoryID" msprop:Generator_ColumnPropNameInTable="CategoryIDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="text" msprop:Generator_UserColumnName="text" msprop:Generator_ColumnVarNameInTable="columntext" msprop:Generator_ColumnPropNameInRow="text" msprop:Generator_ColumnPropNameInTable="textColumn" type="xs:string" minOccurs="0" />
              <xs:element name="ID" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:long" />
              <xs:element name="textColor" msprop:Generator_UserColumnName="textColor" msprop:Generator_ColumnVarNameInTable="columntextColor" msprop:Generator_ColumnPropNameInRow="textColor" msprop:Generator_ColumnPropNameInTable="textColorColumn" type="xs:int" minOccurs="0" />
              <xs:element name="backColor" msprop:Generator_UserColumnName="backColor" msprop:Generator_ColumnVarNameInTable="columnbackColor" msprop:Generator_ColumnPropNameInRow="backColor" msprop:Generator_ColumnPropNameInTable="backColorColumn" type="xs:int" minOccurs="0" />
              <xs:element name="dateArchived" msprop:Generator_UserColumnName="dateArchived" msprop:Generator_ColumnVarNameInTable="columndateArchived" msprop:Generator_ColumnPropNameInRow="dateArchived" msprop:Generator_ColumnPropNameInTable="dateArchivedColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="LastModificationTime" msprop:Generator_UserColumnName="LastModificationTime" msprop:Generator_ColumnVarNameInTable="columnLastModificationTime" msprop:Generator_ColumnPropNameInRow="LastModificationTime" msprop:Generator_ColumnPropNameInTable="LastModificationTimeColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Position" type="mstns:Position" msprop:Generator_UserTableName="Position" msprop:Generator_RowDeletedName="PositionRowDeleted" msprop:Generator_RowChangedName="PositionRowChanged" msprop:Generator_RowClassName="PositionRow" msprop:Generator_RowChangingName="PositionRowChanging" msprop:Generator_RowEvArgName="PositionRowChangeEvent" msprop:Generator_RowEvHandlerName="PositionRowChangeEventHandler" msprop:Generator_TableClassName="PositionDataTable" msprop:Generator_TableVarName="tablePosition" msprop:Generator_RowDeletingName="PositionRowDeleting" msprop:Generator_TablePropName="Position" minOccurs="0" maxOccurs="unbounded" />
              <xs:element name="Font" type="mstns:font" msprop:Generator_UserTableName="Font" msprop:Generator_RowDeletedName="FontRowDeleted" msprop:Generator_RowChangedName="FontRowChanged" msprop:Generator_RowClassName="FontRow" msprop:Generator_RowChangingName="FontRowChanging" msprop:Generator_RowEvArgName="FontRowChangeEvent" msprop:Generator_RowEvHandlerName="FontRowChangeEventHandler" msprop:Generator_TableClassName="FontDataTable" msprop:Generator_TableVarName="tableFont" msprop:Generator_RowDeletingName="FontRowDeleting" msprop:Generator_TablePropName="Font" minOccurs="0" maxOccurs="unbounded" />
            </xs:sequence>
            <xs:attribute name="ArchivedNote_Id" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ArchivedNote_Id" msprop:Generator_ColumnVarNameInTable="columnArchivedNote_Id" msprop:Generator_ColumnPropNameInRow="ArchivedNote_Id" msprop:Generator_ColumnPropNameInTable="ArchivedNote_IdColumn" type="xs:int" msdata:AllowDBNull="false" use="prohibited" />
          </xs:complexType>
        </xs:element>
        <xs:element name="Category" msprop:Generator_UserTableName="Category" msprop:Generator_RowDeletedName="CategoryRowDeleted" msprop:Generator_RowChangedName="CategoryRowChanged" msprop:Generator_RowClassName="CategoryRow" msprop:Generator_RowChangingName="CategoryRowChanging" msprop:Generator_RowEvArgName="CategoryRowChangeEvent" msprop:Generator_RowEvHandlerName="CategoryRowChangeEventHandler" msprop:Generator_TableClassName="CategoryDataTable" msprop:Generator_TableVarName="tableCategory" msprop:Generator_RowDeletingName="CategoryRowDeleting" msprop:Generator_TablePropName="Category">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID" msprop:nullValue="_null" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_ColumnPropNameInRow="ID" type="xs:long" />
              <xs:element name="parentID" msprop:Generator_UserColumnName="parentID" msprop:Generator_ColumnVarNameInTable="columnparentID" msprop:Generator_ColumnPropNameInRow="parentID" msprop:Generator_ColumnPropNameInTable="parentIDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" default="Default Category" minOccurs="0" />
              <xs:element name="IsExpanded" msprop:Generator_UserColumnName="IsExpanded" msprop:Generator_ColumnVarNameInTable="columnIsExpanded" msprop:Generator_ColumnPropNameInRow="IsExpanded" msprop:Generator_ColumnPropNameInTable="IsExpandedColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="ArchivedNoteKey">
      <xs:selector xpath=".//mstns:ArchivedNote" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ArchivedNote" />
      <xs:field xpath="@mstns:ArchivedNote_Id" />
    </xs:unique>
    <xs:unique name="CategoryKey">
      <xs:selector xpath=".//mstns:Category" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:keyref name="ArchivedNote_Font" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="ArchivedNote_Font" msprop:rel_Generator_RelationVarName="relationArchivedNote_Font" msprop:rel_Generator_UserChildTable="Font" msprop:rel_Generator_UserParentTable="ArchivedNote" msprop:rel_Generator_ParentPropName="ArchivedNoteRow" msprop:rel_Generator_ChildPropName="GetFontRows">
      <xs:selector xpath=".//mstns:Font" />
      <xs:field xpath="@mstns:ArchivedNote_Id" />
    </xs:keyref>
    <xs:keyref name="ArchivedNote_Position" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="ArchivedNote_Position" msprop:rel_Generator_RelationVarName="relationArchivedNote_Position" msprop:rel_Generator_UserChildTable="Position" msprop:rel_Generator_UserParentTable="ArchivedNote" msprop:rel_Generator_ParentPropName="ArchivedNoteRow" msprop:rel_Generator_ChildPropName="GetPositionRows">
      <xs:selector xpath=".//mstns:Position" />
      <xs:field xpath="@mstns:ArchivedNote_Id" />
    </xs:keyref>
  </xs:element>
</xs:schema>